/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package model.entities;

import java.util.logging.Logger;

/**
 *
 * @author Hieu.Nguyen
 */
public class Login {
    private int userID;
    private String userName;
    private String password;
    private Role roleName;
    private String userFirstName;
    private String userMiddleName;
    private String userLastName;
    private String userContactInfo;
    private boolean isActived;
    
    public Login(){
        
    }

    public Login(String userName, String password, Role roleName, String userFirstName, String userMiddleName, String userLastName, String userContactInfo, boolean isActived) {
        this.userName = userName;
        this.password = password;
        this.roleName = roleName;
        this.userFirstName = userFirstName;
        this.userMiddleName = userMiddleName;
        this.userLastName = userLastName;
        this.userContactInfo = userContactInfo;
        this.isActived = isActived;
    }

    public Login(int userID, String userName, String password, Role roleName, String userFirstName, String userMiddleName, String userLastName, String userContactInfo, boolean isActived) {
        this.userID = userID;
        this.userName = userName;
        this.password = password;
        this.roleName = roleName;
        this.userFirstName = userFirstName;
        this.userMiddleName = userMiddleName;
        this.userLastName = userLastName;
        this.userContactInfo = userContactInfo;
        this.isActived = isActived;
    }
    
    

    

    
    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Role getRoleName() {
        return roleName;
    }

    public void setRoleName(Role roleName) {
        this.roleName = roleName;
    }

    

    

    public String getUserFirstName() {
        return userFirstName;
    }

    public void setUserFirstName(String userFirstName) {
        this.userFirstName = userFirstName;
    }

    public String getUserMiddleName() {
        return userMiddleName;
    }

    public void setUserMiddleName(String userMiddleName) {
        this.userMiddleName = userMiddleName;
    }

    public String getUserLastName() {
        return userLastName;
    }

    public void setUserLastName(String userLastName) {
        this.userLastName = userLastName;
    }

    public String getUserContactInfo() {
        return userContactInfo;
    }

    public void setUserContactInfo(String userContactInfo) {
        this.userContactInfo = userContactInfo;
    }

    public boolean isIsActived() {
        return isActived;
    }

    public void setIsActived(boolean isActived) {
        this.isActived = isActived;
    }
    
    
}
